package com.calvin.combat.util;

import java.text.SimpleDateFormat;

/**
 * Created by Calvin.Wang on 11/18/2014.
 */
public class SystemUtil {
	public static String getCurrentDateTimeWithFormat(String dateFormat) {
		return new SimpleDateFormat(dateFormat).format(System
				.currentTimeMillis());
	}

	public static boolean isStringNullOrEmpty(String value) {
		if (value.equals(null) || value == "") {
			return true;
		}
		return false;
	}
}
